package com.qf.cardlikeboot.mapper;

import com.qf.cardlikeboot.entity.Crad;

import java.util.List;

/**
* @author wkk
* @description 针对表【crad】的数据库操作Mapper
* @createDate 2022-05-18 18:15:17
* @Entity com.qf.cardlikeboot.entity.Crad
*/
public interface CradMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Crad record);

    int insertSelective(Crad record);


    int updateByPrimaryKeySelective(Crad record);

    int updateByPrimaryKey(Crad record);

    //查全部
    List<Crad> selectAll();

    //根据id查询喜欢的名片列表
    List<Crad> selectLiked(List<String> liked);

    //个人名片
    Crad selectByPrimaryKey(Long id);


}
